//
//  MSCollectDataSource.h
//  MSJD
//
//  Created by 箭军刘 on 2018/10/19.
//  Copyright © 2018年 xiangbo. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MSCollectDataSource : NSObject

/**
 查询收藏数据

 @param page 页码
 @param pageSize 每页的个数
 */
+ (void)queryCollectDataWithKind:(NSInteger)kind
                            page:(NSInteger)page
                        pageSize:(NSInteger)pageSize
                         success:(void (^)(NSDictionary *responseInfo))success
                         failure:(void (^)(NSError *error))failure;

/**
 取消对某个酒店的收藏

 @param hotelId 酒店ID
 */
+ (void)removeCollectDataWithHotelId:(NSInteger)hotelId
                             success:(void (^)(NSDictionary *responseInfo))success
                             failure:(void (^)(NSError *error))failure;

/**
 根据筛选参数来查询酒店数据

 @param param 筛选参数字典
 @param page 页码
 @param pageSize 每页的页数
 */
+ (void)queryHotelListWithParam:(NSDictionary *)param
                           page:(NSInteger)page
                       pageSize:(NSInteger)pageSize
                        success:(void (^)(NSDictionary *responseInfo))success
                        failure:(void (^)(NSError *error))failure;

@end

NS_ASSUME_NONNULL_END
